<!doctype html>
<%@ page language="java" pageEncoding="UTF-8" %>
<html>
    <head>
        <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
        <link rel="stylesheet" type="text/css" href="${path}/html/js/js-jsp/wo/attend/css/workerInfoDetail.css" />
    </head>
    <body>
        <div class="place">
            <span>当前位置：</span>
            <ul class="placeul">
                <li><a id="workerInfo" href="${path}/attend/index.do?prId=${requestScope.workerInfo.projectId}">人员管理</a></li>
                <li><a>人员详情</a></li>
            </ul>
        </div>
        <div class="descBox">
            <div class="detail-top">
                <div class="titleBlock">
                </div>
                <div class="titleText">
                  人员基本信息
                </div>
            </div>
            <div class="detail-middle">
                <div class="personMd1">
                    <img src="${requestScope.workerInfo.headImg}" onerror="this.onerror='';src='${path}/html/images/defaulPhoto/defaulPhoto.jpg'"/>
                    <span>
                        ${requestScope.workerInfo.name}
                    </span>
                    <span>
                        ${requestScope.workerInfo.work.name}
                    </span>
                </div>
                <div class="personMd2">
                    <img src="${path}/html/images/worker/address.png" />
                    <span>
                        地址
                    </span>
                    <span>
                        ${requestScope.workerInfo.address}
                    </span>
                </div>
                <div class="personMd2">
                    <img src="${path}/html/images/worker/idCard.png" />
                    <span>
                        身份证号
                    </span>
                    <span>
                        ${requestScope.workerInfo.idCard}
                    </span>
                </div>
                <div class="personMd2">
                    <img src="${path}/html/images/worker/cardNumber.png" />
                    <span>
                        卡号
                    </span>
                    <span>
                        ${requestScope.workerInfo.cardNo}
                    </span>
                </div>
            </div>
            <div class="detail-bottom">
                <table align="center" width="100%">
                    <tr>
                        <td>
                           性别
                        </td>
                        <td>
                            ${requestScope.workerInfo.sex}
                        </td>
                        <td>
                            状态
                        </td>
                        <td>
                            ${requestScope.workerInfo.deleted == 1 ? '离职' : '在职'}
                        </td>
                    </tr>
                    <tr>
                        <td>
                            出生年月
                        </td>
                        <td>
                            ${requestScope.workerInfo.birthday}
                        </td>
                        <td>
                           加入项目日期
                        </td>
                        <td>
                            ${requestScope.createDate}
                        </td>
                    </tr>
                    <tr>
                        <td>
                            年龄
                        </td>
                        <td>
                            ${requestScope.age}
                        </td>
                        <td>
                            身份证发证机关
                        </td>
                        <td>
                            ${requestScope.workerInfo.signDepartment}
                        </td>
                    </tr>
                    <tr>
                        <td>
                            所在班组
                        </td>
                        <td>
                            ${requestScope.workerInfo.group.name}
                        </td>
                        <td>
                            有效期
                        </td>
                        <td>
                            ${requestScope.effectiveTime}
                        </td>
                    </tr>
                    <tr>
                        <td>
                            所在项目
                        </td>
                        <td>
                            ${requestScope.workerInfo.projectName}
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </body>
</html>

